package cn.wen.yinxiu.member.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.wen.yinxiu.common.entity.BaseEntity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 用户地址
 *
 * @ClassName: AddressEntity
 * @Author 小飞
 * @Email coderwen22@163.com
 * @Date 2023-05-21 22:19:26
 * @Description:
 */
@Data
@TableName("y_address")
public class AddressEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/**
	 * 用户ID
	 */
	private Long userId;
	/**
	 * 收货人全名
	 */
	private String receiverName;
	/**
	 * 固定电话
	 */
	private String receiverPhone;
	/**
	 * 移动电话
	 */
	private String receiverMobile;
	/**
	 * 省份
	 */
	private String receiverProvince;
	/**
	 * 城市
	 */
	private String receiverCity;
	/**
	 * 区/县
	 */
	private String receiverDistrict;
	/**
	 * 收货地址，如：xx路xx号
	 */
	private String receiverAddress;
	/**
	 * 邮政编码,如：110000
	 */
	private String postalCode;
	/**
	 * 是否默认地址：0：false 1：true
	 */
	private Integer isDefault;
	/**
	 * 3：操作异常冻结 2：密码多次错误冻结 1：可用 0：禁用
	 */
	private Integer status;
}
